<a href="<?php echo $this->createUrl('timeslot', array('id'=>$data['_id'],
    'sportType'=>$otherInfo['sportType'], 'date'=>$otherInfo['date'])); ?>">
    <img src="<?php echo Yii::app()->request->baseUrl; ?>/upload/<?php echo $data['picture']; ?>" />
    <h2><?php echo $data['name']; ?></h2>
</a>
